load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "pgproto3",
    srcs = [
        "authentication.go",
        "backend.go",
        "backend_key_data.go",
        "big_endian.go",
        "bind.go",
        "bind_complete.go",
        "close.go",
        "close_complete.go",
        "command_complete.go",
        "copy_both_response.go",
        "copy_data.go",
        "copy_done.go",
        "copy_fail.go",
        "copy_in_response.go",
        "copy_out_response.go",
        "data_row.go",
        "describe.go",
        "empty_query_response.go",
        "error_response.go",
        "execute.go",
        "flush.go",
        "frontend.go",
        "function_call_response.go",
        "no_data.go",
        "notice_response.go",
        "notification_response.go",
        "parameter_description.go",
        "parameter_status.go",
        "parse.go",
        "parse_complete.go",
        "password_message.go",
        "pgproto3.go",
        "portal_suspended.go",
        "query.go",
        "ready_for_query.go",
        "row_description.go",
        "sasl_initial_response.go",
        "sasl_response.go",
        "startup_message.go",
        "sync.go",
        "terminate.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/jackc/pgx/pgproto3",
    importpath = "github.com/jackc/pgx/pgproto3",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/jackc/pgx/chunkreader",
        "//vendor/github.com/jackc/pgx/pgio",
        "//vendor/github.com/pkg/errors",
    ],
)
